/*
 * File:		support_common.h
 * Purpose:		Various project configurations.
 *
 * Notes:
 */

#ifndef _SUPPORT_COMMON_H_
#define _SUPPORT_COMMON_H_

/* Enable UART Support. */
#define ENABLE_UART_SUPPORT  0
extern volatile int mode;
extern int n_pattern[8][8];
extern int next_pattern[8][8];
extern int flag;
extern int all_flag;
extern int chuck_flag;
extern int chuck_flag2;
extern int o_pattern [8][8];
extern int pac_dir;
extern int game_over_pattern [8][8];
extern int game_over_flag;
extern int chuck_read_flag;

#define MEMORY_INIT \
	/* Initialize RAMBAR: locate SRAM and validate it */ \
	move.l	%#__RAMBAR + 0x21,d0; \
	movec	d0,RAMBAR;

#define SUPPORT_ROM_TO_RAM 1

/*
 * Include the derivative header files
 */
#include "MCF52259.h"

/*
 * Include the board specific header files
 */
#include "MCF52259_sysinit.h"

/********************************************************************/

#endif /* _SUPPORT_COMMON_H_ */
